package com.zrkizzy.seckill.vo.rabbitmq;

import com.zrkizzy.seckill.entity.User;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 秒杀信息数据消息对象
 *
 * @author zhangrongkang
 * @since 2023/4/7
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SeckillInfoVO {

    /**
     * 用户对象
     */
    private User user;
    /**
     * 商品ID
     */
    private Long goodsId;

}
